Skip to content

FormEncoder 0.10.0: the family's terminal panel, Antigravity as the fourth agent program, and agent programs found however the app was started - #14

Merged
nodemode-ai merged 30 commits into
mainfrom
feat/family-update-0.9.0
Nov 20, 2026
Merged

nodemode-ai merged 30 commits into
mainfrom
feat/family-update-0.9.0

Conversation

@nodemode-ai

Copy link
Copy Markdown
Collaborator

FormEncoder 0.9.0: only the window can change things, local-file outputs, AMOLED Black

What changes for people

Agents and permission

  • Only the FormEncoder window can change things through the engine, answer a permission or approval question, or drive its terminal. Changes from outside the app's window are refused. Outside agents still come in through MCP or the command line and are asked about in the window.
  • The permission question names the agent and says what it asked to do, lists the answers on offer and says when it expires. It can be answered "once", for that call only, and every open window is told when a question has ended.
  • Allow Always and Full faith are protected. A change made to the saved permission outside the app is ignored, the permission goes back to Ask, and the Agents panel says so. After updating, an agent that was allowed before is asked once more. The protection uses the system keychain (new dependency: keyring, MIT); without a keychain the saved choices stand as before.
  • FORMENCODER_AGENTS can no longer switch the agent question off. deny still refuses every change from every agent, now including agents started in the Terminal panel; reading still works. Any other value, allow included, leaves the person's own choice in charge, so an outside agent is asked about in the window. Scripts that set FORMENCODER_AGENTS=allow should drop it: it no longer does anything.
  • Agents can no longer change the FFmpeg folder, the camera raw decoders or the media cache folder, or turn off the numbering of output names. Those stay in Preferences.
  • The agent token a Terminal panel shell carries is its own: replaced when the shell restarts, dropped when it closes. Terminals that agents open do not get one.

The Terminal panel

  • FormEncoder keeps its own Terminal panel in this release; it looks and works as it did.
  • Underneath, the engine can now start Claude Code, Codex and Cursor as tabs of their own, each with its own access that ends with the tab, and one call reports which of the three are installed, their versions and how to install a missing one.

Encoding

  • Encode outputs are local files only. An output path or folder that is a network address or a stream is refused when it is set and again when the job starts. Every other output path is made absolute before FFmpeg is called, so the queue shows the full path of an output given as a relative one. Inputs that are addresses are refused as well.
  • FFmpeg is downloaded from the formai-binaries release, with the earlier formcut-binaries address as the fallback, each file still checked against the record. When both fail, the error names both addresses. FORMENCODER_FFMPEG_RELEASE is documented and, when set, is the only address asked.

The window

  • New theme: AMOLED Black, a true-black window for OLED screens, with panes told apart by thin outlines. Sixteen themes now.
  • At start the desktop app waits at most 10 seconds, once the engine has given its address, for the engine to recognise the window as the app's own. If that does not happen it shows "The formencoder engine failed to start" and opens no window. How long the engine may take to start is unchanged.
  • Running from source, reloading the page no longer makes the engine report a second window.

Also in this release

  • agents/manifest.json says what FormEncoder offers agents: 125 MCP tools (54 read-only, 71 that ask the person first) and 2 skills with 18 sub-skills. ./formencoder agents sync --check fails when it is out of date.
  • Encode as a Form function (merged after 0.8.4, now in the CHANGELOG): a graph in NodeMode's hub can run a FormEncoder preset on one file with no window open. form-functions.json is written again and states 0.9.0.
  • Documents brought in line with the app: the real tool counts (29 curated, 125 in the full profile), sixteen themes on the demo pages, formcompiler named under nodemode-dev, the wiki's Parity links.

How it was checked

  • The whole backend suite on the 0.9.0 tree (Python 3.13, the engine built from this branch): 246 passed, 3 failed. The 3 are the three cases of one test in tests/test_functions.py. They fail the same way on main at 0.8.4 and this branch does not touch that code; the owner has the details separately. A fourth failure on main, form-functions.json stating 0.8.0, passes now that the file is written again.
  • python -m app.functions manifest --check: in step. agents sync --check: in step. setup/lint_text.py: 0 findings.
  • Requests that change something, sent to an engine from source without coming from the window: of 18, the 4 that are open by design answered and 14 were refused.
  • Outputs: with listeners on loopback, tcp, udp, http, rtmp, ftp, pipe: and file: outputs and an address used as a folder were all refused when set and at job start, and the listeners saw 0 connections. Plain absolute, relative and home-folder outputs encoded and were written at the absolute path. Real jobs were run, not only the checks.
  • The agents setting: with allow, with no value and with a nonsense value an outside agent's change was refused when no window was open; with deny every change was refused, from an outside agent, an agent tab, the Terminal panel's shell and the command line, and reads ran in every case.
  • The permission question, with stand-in windows: both windows got the question with its new fields; once, this session and Always behaved as named; on expiry the agent was refused and a late Allow Always stored nothing.
  • The protected permission, with stand-in keychains: intact, changed by hand (ignored and reported), not yet protected, and no keychain at all.
  • Agent tabs with stand-in programs for the three: each opened with its own access, which stopped working after exit, restart and close.
  • Headless Chrome against the dev server and an engine from source: the page loaded and showed "Engine ready", the Terminal panel showed a prompt, and the engine counted one window before and after a reload.
  • AMOLED Black under a slowed processor and network: about 150 screenshots each for a cold load and a hard reload, every sampled point black until the app is shown; a live switch to the theme and back changed no element's box.
  • The FFmpeg download against a loopback server: wrong bytes or a missing file at the first address installs from the second; both wrong installs nothing and names both.

Not verified

  • The desktop shell was not compiled on the build machine, and this branch changes it (src-tauri/src/main.rs, the 10 second wait). The first compile is the release build. The wait was run only as a copy in a small scratch program, against six made-up start sequences.
  • Nothing was run on Windows or macOS.
  • The real Claude Code, Codex and Cursor were not run; stand-ins only. Whether Codex and Cursor hand a tab's access on to the MCP bridge they start is not known; if they do not, the person is asked.
  • A real system keychain was not used.
  • The frontend type check was not run on the release tree (no node_modules in the working copy). It last passed at the AMOLED Black commit; the only frontend change since is the version string.
  • The CI job on GitHub was not run. Its smoke step now answers the agent question the way the window does; that script was run once locally.
  • No production build, no packaged app, no real OLED screen.

Held at the safer choice, for the owner to overrule

  • One question about the Terminal panel's plain shells is with the owner separately.
  • The accent colour is unchanged.
  • FORMENCODER_AGENTS=deny now stops agents started in the Terminal panel as well as outside agents. Going back is one condition.
  • After updating, an existing Allow Always list and Full faith are not trusted until the person confirms them again.

To check after the build

The list is in the test plan for formencoder: the desktop shell and its window, a slow first start, the keychain on real systems, the Terminal panel's token, the saved-permission notice in the Agents panel, AMOLED Black, and the download fallback.

Merge

Merge with a merge commit. Do not squash and do not rebase-merge.

…ompts or drive its terminal

The engine makes a key at start and, in one place (WindowKeyGuard in
main.py), refuses every request that is not GET, HEAD or OPTIONS unless
it carries x-formencoder-window-key or its path is on a named open list:
/mcp (outside agents and the stdio bridge, through consent), the
development bootstrap /api/window/key, /api/rpc (the command line, which
already goes through consent and approvals) and /api/family/hooks/formcut
(formcut's engine, which signs each request).

The desktop shell starts the sidecar with FORMENCODER_WINDOW_KEY_STDOUT=1;
the engine prints "formencoder-window-key: [key]", flushed, before its
address, and the shell sets window.__FORMENCODER_WINDOW_KEY for the
engine's own origin only. From source, POST /api/window/key answers once,
then 409. The page takes the key once, sends it on every write through
LOCAL_HEADERS and api(), and opens the live and terminal sockets with a
one-time ticket from POST /api/window/ticket. A live socket without a
ticket is an observer with no rights and is not counted as a window; the
terminal socket without one is closed. agents.approvals joins
agents.decide and agents.fullFaith as window only, and a terminal's
output needs the key.

The in-app agent token is now one per terminal the window opens, only in
that shell's environment, replaced on restart and revoked on close;
terminals agents open get none. The Allow Always list and full faith are
sealed with an HMAC whose key lives in the system keychain (keyring,
loaded lazily); a hand edit that loosens them is ignored and reported as
sealBroken, and without a keychain the stored values stand. keyring is
added to the requirements, the freeze scripts and NOTICE.md.

Checked by running before the tests: a sweep of the OpenAPI write
operations with no key went from 15 answered of 15 to 4 of 17 (the open
list); the sidecar entry printed the key line before the address and
answered the bootstrap with 404; the bootstrap answered once then 409;
sockets with and without tickets, MCP and the command line under ask,
allow and deny, and the seal with stand-in keyring backends behaved as
described in backend/HASHOUT_LOG.md; the page against the Vite dev server
in headless Chrome booted, took the key and wrote. Then
tests/test_window_key.py and tests/test_seal.py; conftest's client sends
the key and a new bare client does not. tsc --noEmit passes. The desktop
shell change (src-tauri/src/main.rs) was checked against the tauri 2.12.2
builder signature and parsed with rustfmt, not compiled.
…rogram or allow replacing files

prefs.set had no approval reason, so an agent past consent could change
any preference. ffmpegDir picks the program run as FFmpeg, rawDecoders
names programs run on camera raw sources, incrementNames off lets an
output replace an existing file, and cacheFolder decides where cache
trimming removes old files. rpc.execute and rpc.batch now refuse a
prefs.set touching any of these four unless it comes from the window's
socket (ui), the engine itself (engine, the FFmpeg download refresh) or
files opened with the app (desktop). Other preferences are unchanged.

Checked by running before the test, with FORMENCODER_AGENTS=allow: MCP
execute and batch and the command line were refused for each of the
four and could still set chime; the window's socket set incrementNames
and ffmpegDir. Then tests/test_window_prefs.py.
…inaries

The binaries repository is being renamed to nodemode-dev/formai-binaries.
ffmpeg_fetch.sources() now returns the archive under formai-binaries
first and formcut-binaries second; fetch() and setup/bundle_ffmpeg.py
try them in order and move on when an address cannot be fetched or its
files do not match the SHA-256 record, installing nothing that does not
match. FORMENCODER_FFMPEG_RELEASE, when set, stays the only address; it
is now documented in .docs/BRANCHING.md, src-tauri/ffmpeg/README.md and
backend/.env.example. The tag, asset names, install folder and variable
names are unchanged. NOTICE.md, BRANCHING.md and the ffmpeg resource
README name formai-binaries and say older builds use the older name,
which keeps working; ffmpeg-licence.json names no address and is
unchanged.

Checked by running before the tests: against a local server, wrong bytes
or a 404 from the first address installed the matching archive from the
second, wrong bytes from both installed nothing, and the override was
the only address asked; bundle_ffmpeg.main staged from the second
address, stopped on two mismatches and exited 0 on two 404s. On the real
network the new address answers 404 today and a real fetch installed the
12 recorded files from formcut-binaries. Then tests/test_ffmpeg_fetch.py.
…l profile

Counted from source: tools.TOOLS has 29 entries and the engine's registry
gives 96 more command tools, 125 in the full profile. The core profile
(Cursor) lists the 29 curated tools only. AGENTS.md said 21 and 27 in
one sentence, the wiki's Agents page listed 21 and the skillset's
agent-substrate table said 21; each now says 29 curated (core) and 125
in the full profile, and the wiki lists all 29. The generated harness
references already said 29: ./formencoder agents sync --check reports
them in step.
…a stream

FFmpeg reads an argument that starts with a name and a colon (tcp:, udp:,
http:, rtmp:, ftp:, pipe:, file: and others) as a protocol. An output
path or folder was passed on as given, so an encode could be sent to a
network address, and inputs given as a numbered pattern skipped the
exists check.

Every output now goes through paths::local_output in runner::encode: an
address or stream is refused with a message, anything else is made
absolute. pipeline::build checks again, make_output and queue.setOutput
refuse at once, and Engine::output_path returns the absolute path. The
source, a stitched part and the audio source are refused when they are
addresses (path_list, ffmpeg::probe, pipeline::build, runner::run).

Run with a 1 second clip and the rebuilt fe_core against loopback
listeners: before, tcp, http, rtmp and ftp outputs made 5 connections and
folders named after the scheme appeared in the working directory; after,
all seven kinds of address and an http folder are refused, a stored
tcp folder fails at start, listeners see 0 connections, and plain,
relative, ~ and leading-dash paths encode at their absolute path.
Inputs: 39 connections before, 0 after. A playlist file naming an
address was not followed by ffmpeg 6.1 even before. Then
tests/test_local_paths.py (11 pass).
…strap again

In development the page asked POST /api/window/key first and fell back to
the key kept in sessionStorage, so each reload after the first was
refused with 409 and the engine logged a second claim that never
happened. The kept key is now tried first (checked with POST
/api/window/ticket) and the bootstrap is asked only when it is missing or
no longer works.

Run in headless Chrome against the engine from source and the Vite dev
server: a load and two reloads, each followed by a write from the page.
Before: bootstrap 200, 409, 409 and secondWindowClaim true. After: one
request, secondWindowClaim false, all writes succeed.
…s cover only the key

On origin/main the shell waited for the engine's address line with no limit
and still does. Once the address line has arrived, it now waits at most 10
seconds for the window key if the key was not already read; when that runs
out, the existing engine-failed-to-start dialog is shown and no window is
opened. An engine that exits before printing its address takes the existing
failure path at once.

Checked: the engine from source printed the key line before the address
line. The shell cannot be compiled here; the loops were run unchanged in a
scratch crate against six fake event streams (key then address; address then
silence for 11 seconds; 25 seconds of nothing then key and address, which
opens; address then key 3 seconds later; exit before address; address with
no key). The packaged app was not run.
Re-ran the download fallback against a loopback server for the case not run
before. With both addresses answering 404, both answering wrong bytes, and the
first wrong bytes with the second 404, fetch raised one error naming both
addresses and the reason for each, and installed nothing. The existing test
for no matching address now asserts both addresses are in the error. No code
change.
…nged outside the app

When the stored agent choice (the Allow Always list or full faith) fails its
seal, the engine ignores the edit and reports sealBroken in
/api/agents/status. The Permissions section of the Agents panel now shows one
sentence: "The saved agent permission was changed outside FormEncoder, so it
is back to Ask." The sentence is always in the markup with visibility hidden,
so its space is reserved and showing it only toggles a class on that node. It
stays while the seal is reported broken and goes after Forget all or a new
sealed choice. The app has no i18n table, so there is no language file to
update.

Checked in headless Chrome against the engine from source with a stand-in
keyring and the Vite dev server: hidden with the choice intact; after a hand
edit of agents.json the status reported sealBroken and the sentence showed in
the same box it reserved, sections unchanged between shown and hidden; Forget
all hid it again. tsc was not run for this commit separately; see the build
report.
Adds the amoled profile (label AMOLED Black, oled flag) to THEMES and to the
pre-paint table in index.html, so a reload paints black on the first frame.
applyTheme sets data-oled on html for an oled profile and removes it for every
other. :root[data-oled] sets the hover tint and soft border to 10% and 12%
white and --line-0 to --border-color so pane outlines stay visible. Measured
surfaces that were not black get a data-oled rule: the title bar, the Form
Family, Watch, Encoding, Effects and Publish cards, the Export Settings
summary box and the modal scrim. The accent is the app's own. The theme picker
is built from THEMES and lists it.

Checked in headless Chrome at 1440 by 900 with 4x CPU throttle, a slow network
and the cache off: cold load and hard reload with amoled saved show #000000 at
every sample until the app is revealed, then only content; a live switch to
AMOLED Black and back adds, removes and moves no element (717 elements);
tsc --noEmit exits 0. Not checked: the desktop app, a real OLED screen, hover
contrast in a screenshot.
The agents sync writes agents/manifest.json from the tool registry, the
skills folder and the extension host, and --check names the file when it
drifts. The dock part is one declared value in setup/agents.py. PARITY.md
now says 29 curated and 125 tools.
…onger switch the question off

The variable can still refuse outside agents (deny). It can no longer
loosen: allow, like any value other than deny, now leaves the stored
choice in charge, so the outside agent asks in the formencoder window.
Before, allow skipped the question for every outside agent and ignored
the stored Allow Always list, so whatever could set the engine's
environment had the same reach as the person's Allow.

The unattended route (FORMENCODER_AGENTS=allow) is gone: an outside agent
with no window open is refused its changes and is told to open
formencoder or start from the Terminal panel. The no-window message, the
README line, the wiki Agents page, the harness skill (and its .agents
mirror, written by agents sync) and the skillset verification note say
so. The CI smoke step used allow for its encode; it now plays the window:
it claims the window key, opens the live socket with a ticket, answers
the consent message with Allow, and asserts the window was asked.

test_allowed_policy_lets_a_changing_tool_through is replaced by cases
that allow still asks and deny blocks even a stored allow, because it
asserted the behaviour this removes. test_window_prefs.py used the
variable to get agents past the gate; it now puts the sources on the
session list. conftest set_policy lost its allowed mode.

Ran: /mcp from source on a fresh data folder showed allow reaching the
engine before and the window message after (deny and unset as expected,
read-only tool unchanged); the CI sequence against an engine from source
on a spare port got the consent message and a verified encode; the
consent, window prefs, manifest, window key, seal and guard test files
pass (5 of the new cases fail on the old code). The CI job itself and the
packaged app were not run.
The demos import the app's own THEMES, which lists sixteen profiles since
AMOLED Black was added; the three READMEs still said fifteen. Counted in
frontend/src/ui/themes.ts. Text only, nothing run.
Three documents (Releasing wiki page, BRANCHING.md, the desktop-and-release
sub-skill) named nodemode-ai/formcompiler; the organisation is nodemode-dev,
as README.md already says. The CHANGELOG line that records an old release is
left as written. Text only; agents sync --check is in step.
The wiki has no Parity page; the row by row grading is docs/PARITY.md in the
repository. Home and the sidebar linked to a page that does not exist; they
now link to the file. Text only.
… it asks, and is withdrawn when it ends

Engine side of the shared dock's contract, added beside what the present
window reads. The consent event keeps client, detail and requestId and
gains id, agent, what, answers (deny, once, session, always), alwaysScope
(agent), expiresIn and expiresAt. The answer {allow: true, remember:
"once"} (or {allow: true, once: true}) runs this one call and stores
nothing, so the next call asks again; the other answers mean what they
meant. When a question ends every window gets {type: "withdrawn",
requestId, id, of, reason} with reason answered, expired or cancelled.

FORMENCODER_AGENTS=deny now refuses changes from every agent, the ones
started in the Terminal panel included; reads still work. That is the
family rule for Blocked, and the only change the present window can show.
The skill, the wiki page and the README line that said terminal agents
keep working say what now happens; the .agents copy of the skill was
regenerated by ./formencoder agents sync.

test_inapp_token_skips_a_blocked_policy pinned the old rule and is
replaced by a test of the new one.

Verified by running before the tests: engine from source on 34201, two
stand-in windows and an outside agent on /mcp. New fields seen in both
windows; deny refused; once in both shapes ran and the next call asked;
session and always as before; with the limit shortened to 4 s both
windows got withdrawn expired and a late answer stored nothing; under
deny an outside agent, an agent tab's token and the panel shell's token
were refused for changes and allowed to read. agents sync --check in step.
…with their own tokens, and one agent status call

Engine side of the shared dock's contract; the present Terminal panel's
socket, launch buttons, /status and /sessions are as they were.

GET /api/terminal/agents (window key) says for claude, codex and cursor:
installed, path, version (the program's own --version line, kept 60 s),
signedIn (null: the engine cannot tell), the install line, title and
program name. The engine never calls it itself.

POST /api/terminal/tabs {kind, cols, rows, cwd, title, prompt, resume}
opens a window tab: shell, claude, codex or cursor. An agent kind runs
the program as the tab's own process with a token of its own in the
child's environment, never on the command line; the token ends when the
program exits, on restart and on close. A shell tab opened this way has
no token. GET /api/terminal/tabs lists them; they are closed, restarted
and attached through the existing /sessions/{id} routes and /ws. Window
tabs are kept out of /sessions, the terminals event and the terminal_*
tools. Rows gained kind and alive; windows also get terminalTabs.

The socket's typed=1 mode sends control as JSON in binary frames (hello,
exit, restart, closed, gone) and takes input and resize as JSON text, so
an exit cannot be mistaken for output. Without typed nothing changes.

A program that cannot be started now ends its forked child with status
127.

Verified by running before the tests: engine from source on 34201 with
stand-in claude, codex and cursor-agent scripts on its PATH and without
them; token in /proc/<pid>/environ and absent from ps -eo args, refused
after exit, restart and close; the present page's terminal, status and
consent calls replayed unchanged. Write routes without the key: 13 of 13
refused before, 14 of 14 after. Not verified: the real Codex and Cursor
programs (neither is on this machine), so whether they hand the token to
the MCP bridge they start is unknown. Whole suite: 245 passed, 4 failed,
the same 4 in test_functions.py as before this work (231 passed, 4
failed).
Sets 0.9.0 at the version sites of the 0.8.4 release (README, backend, frontend package and lock, version.ts, the native and desktop Cargo files and their lock entries, pyproject, tauri.conf.json, the three demo bundles), adds the CHANGELOG entry, and lets the function manifest's own generator rewrite form-functions.json. Run: backend suite 246 passed, 3 failed (three cases of one test that fail the same way on main at 0.8.4 and are not touched here); the function manifest check and agents sync --check are in step.
@nodemode-ai
nodemode-ai requested a review from gbarnai as a code owner November 19, 2026 23:03
…hanged

The 15 files of frontend/src/dock are copied byte for byte from FormVis at 8bbdf61b. Nothing uses them yet.
… for shells, Claude Code, Codex and Cursor

The panel keeps its place in the panel framework (any group, floating, per workspace) and now holds the shared module in hosted placement. Shells are plain tabs with no agent access; Claude Code, Codex and Cursor run as tabs of their own; the ask line opens Claude Code with what was typed. The permission question is the module's dialog: Deny, Allow once, Always allow that agent; Escape refuses as before. A window that connects while a question is waiting is sent it again. The old panel file, its styles and the app's own consent dialog are removed.
… use the MCP entry formencoder_tab, and the sync checks the dock folder

An agent that hangs up while the person is being asked no longer leaves its question on screen: the engine notices within a second and tells every window. The agent workspace's Claude Code, Codex and Cursor configs name their MCP entry formencoder_tab, apart from the entry an outside agent installs. agents sync fails, naming the file, when frontend/src/dock does not match its MANIFEST.json or imports from the app, and agents/manifest.json lists the dock's tabs. A panel that moves to an earlier area on a workspace switch is no longer hidden by the area it left. The wiki, the workspace notes and the harness skill say that a plain shell tab carries no agent access.
…k and what was removed

frontend/HASHOUT_LOG.md and backend/HASHOUT_LOG.md carry the reasons, the removed code and what was checked by running.
….1, and the status reports Claude Code, Codex, Cursor and Antigravity

backend/app/services/agent_lookup.py is the family's file at version 1.0.1, copied unchanged from FormVis ddc893ae (SHA-256 62667f9b...c77d51); setup/agents.py records the hashes of 1.0.0 and 1.0.1 and agents sync fails naming the file when it differs. Every lookup and start of an agent program goes through it: the status route, the tab route, the old socket's launch and agents install for Claude Code. A program outside the engine's PATH is found in the known install folders or through the person's shell PATH; one that is found but does not start is reported as broken with its last line. The status answer has four programs and the fields finding, how, looked, error and said; version is now the version word, not the whole line. Agent tabs start through the login shell with the program's folder first on PATH. The tab route still takes claude, codex and cursor only.

Run: tests/test_dock_engine.py, test_dock_module.py and test_agents_manifest.py against stand-in programs and a stand-in shell, 25 passed; agents sync --check in step. Three existing cases were changed because they pinned three programs, the whole version line and a bare argv. Not run: Windows, macOS, a frozen engine, any real agent program.
conftest puts stand-ins for claude, codex, cursor-agent, agent and agy first on PATH, a stand-in login shell as SHELL and removes the package manager variables before the app is imported; an autouse fixture empties the finder's system folders and its kept answers for every test. The run prints how many times a stand-in was started. Run: the agent and dock test files, 25 passed, the line said 1 start (agy --version).
The 16 entries of frontend/src/dock (15 files and MANIFEST.json; agents.ts is new) are copied byte for byte from FormVis at ddc893ae: the agent kinds are a list and Antigravity is the fourth. diff -r against the source is clean. The adapter still lists three kinds in this commit.
…l adds formencoder to Antigravity

The tab route takes kind antigravity and starts agy the way it starts the other three: found by the family's finder, started through its start path, with the tab's own token in its environment. The tab runs in the agent workspace, where the other agent tabs run, and gets the entry formencoder_tab (the stdio bridge with the tab's token) in .agents/mcp_config.json there; everything else in the file is kept, the file is the user's alone, and the entry is taken out when the tab closes or the program ends, when the token also stops being accepted. The dock adapter lists the fourth kind and gives the engine's sentence for a missing program; the Agent button's menu and the Agents panel's set-up row have Antigravity. agents install antigravity writes ~/.gemini/config/mcp_config.json, keeps what is there, leaves a foreign entry alone and says when only the older file was seen. agents/manifest.json was rewritten by ./formencoder agents sync.

Seen with an engine from source on port 4741 and stand-ins (a real agy was never started): four programs in the status, the tab showing the stand-in's banner, the file holding its seeded server and key beside formencoder_tab at mode 0600, a call with the tab's token served unasked, the file exactly as seeded after close and the dead token treated as an outside agent's; the install route dry, first, second and with a foreign entry. Tests after that: 28 passed in the agent and dock files. tsc --noEmit clean, vite build completed. Not looked at in a browser. Not run: a real agy, Windows, macOS, the desktop window. Known limit: two Antigravity tabs share one entry.
backend/formencoder_engine.py replaces a missing stdin, stdout or stderr with the null device before anything else is imported, so an engine built without a console no longer stops at its first print. Seen on Linux: started with its output streams closed (>&- 2>&-) the engine did not answer its health route before this change and answered after it; started normally it still prints its address. Not run on Windows and not with a frozen engine.
… Cursor and Antigravity

The launcher's help, the agents command's help, the README's command list, the wiki's Home and Agents pages, the agent workspace's CLAUDE.md, the harness and skillset skills and the Agents panel's policy line say four. The generated tools reference says the core profile is for Cursor and Antigravity; it and the .agents mirror were rewritten by ./formencoder agents sync. Left as they are: the README's description of the Agents panel picture (the picture shows three buttons), docs/PARITY.md and its page, the repository's own AGENTS.md (it describes the repository's Codex and Cursor files), CHANGELOG and log history. Run: agents sync --check in step, lint_text 0 findings.
Sets 0.10.0 at the version sites of the 0.9.0 release (README, backend, frontend package and lock, version.ts, the native and desktop Cargo files and their lock entries, pyproject, tauri.conf.json, the three demo bundles), adds the CHANGELOG entry, which also covers the four terminal panel commits already on the branch, and lets the function manifest's own generator rewrite form-functions.json. Run: the whole backend suite before the bump, 261 passed, 3 failed (three cases of one test in test_functions.py that failed the same way before this branch and are not touched here), with decoy agent programs first on PATH started 0 times; after the bump the version, boot, agent, dock and function test files, 73 passed and the same 3 failed; the function manifest check and agents sync --check in step; tsc --noEmit clean before the bump. Not run: Windows, macOS, the desktop shell (not compiled here; the native engine was not rebuilt), any real agent program, a browser.
@nodemode-ai nodemode-ai changed the title FormEncoder 0.9.0: only the window can change things, local-file outputs, AMOLED Black FormEncoder 0.10.0: the family's terminal panel, Antigravity as the fourth agent program, and agent programs found however the app was started Nov 20, 2026
@nodemode-ai

Copy link
Copy Markdown
Collaborator Author

FormEncoder 0.10.0: the family's terminal panel, Antigravity as the fourth agent program, and agent programs found however the app was started

This branch sits on top of feat/family-update-0.9.0 (0.9.0, pushed and not yet merged). It adds 11 commits: 4 that bring in the family's terminal panel, 6 for the four agent programs, and the release commit.

What changes for people

The Terminal panel

  • The Terminal panel is the family's shared panel. It keeps its place in FormEncoder (any group, floating, per workspace, opened from the Window menu). Inside it are tabs: plain shells, Claude Code, Codex, Cursor and Antigravity each in a tab of its own, and read-only tabs for terminals an outside agent opened. A line at the bottom opens Claude Code with what you type.
  • Changed on purpose: a plain shell tab carries no agent access. A program typed into a shell asks like any outside agent; the agent tabs started from the panel's buttons do not ask.
  • The permission question is the panel's dialog in the middle of the window: Deny, Allow once, or Always allow that agent. Escape refuses. A question still waiting is shown again after a reload, and it closes by itself within about a second when the agent that asked goes away.

Four agent programs

  • Google's Antigravity (agy) is offered beside Claude Code, Codex and Cursor: its own button and tab in the Terminal panel, Start Antigravity in the Agent button's menu, Set up Antigravity in the Agents panel.
  • ./formencoder agents install antigravity (also part of the default set) adds FormEncoder to ~/.gemini/config/mcp_config.json, keeps everything else in that file, and leaves alone an entry of the same name that FormEncoder did not write. Antigravity gets the MCP server only; no skill is copied for it.
  • FormEncoder finds the agent programs however it was started. Opened from the Dock, the Start menu or a desktop launcher it used to see only a short list of folders and could report a program as not installed. It now also looks in the usual install folders and reads the person's shell list once. The status says where each program was found and tells a missing program from one that was found but does not start, with the program's own error line.
  • FORMENCODER_CLAUDE_BIN, FORMENCODER_CODEX_BIN, FORMENCODER_CURSOR_BIN and FORMENCODER_ANTIGRAVITY_BIN name a program's file directly.
  • An agent tab is started through the login shell with the program's own folder first on its PATH, so a program that needs the node installed beside it starts.
  • The reported version of an agent program is the version itself (for example 2.1.0), not the whole line the program prints.

The engine

  • The engine starts when it has no output streams. An engine built without a console no longer stops at its first line of output. This was seen in a Windows build of another Form app.

Also in this release

  • The MCP entry the agent tabs use inside the agent workspace is named formencoder_tab, apart from the formencoder entry that agents install writes for use outside the app.
  • agents/manifest.json lists the Terminal panel's tabs. ./formencoder agents sync --check fails when the shared panel's files or the shared program finder were changed in place.
  • FormEncoder's own tests can no longer start a real agent program: the whole run sees stand-ins only.
  • The README, the wiki, the command help and the agent skills name four agent programs.

How it was checked

  • The whole backend suite before the version commit, with decoy agent programs first on PATH: 261 passed, 3 failed. The 3 are the three cases of one test in tests/test_functions.py that failed the same way before this branch (253 passed, 3 failed after the terminal panel commits); that code and test were not touched. The decoys were started 0 times.
  • After the version commit: the version, boot, agent, terminal panel and function test files, 73 passed and the same 3 failed.
  • tsc --noEmit with the app's flags: clean. vite build into a scratch folder: completed.
  • ./formencoder agents sync --check: in step. python -m app.functions manifest --check: in step. setup/lint_text.py: 0 findings on the changed texts.
  • An engine from source with its own home, data folder, a stand-in login shell and stand-in claude, codex, cursor-agent and agy: the status listed four as running with their versions; an Antigravity tab showed the stand-in's banner with the tab's access present; the tab's entry appeared in the workspace's .agents/mcp_config.json beside a seeded server and key, in a file only the user can read; a call with the tab's access ran unasked; after close the file was byte for byte as seeded and the same access was treated as an outside agent's. Without agy the status and the tab route said where FormEncoder looked and how to install it.
  • The install route for Antigravity against a made-up home: a dry run wrote nothing, the first run wrote the file, the second said it was already there, a foreign entry was left with the same hash.
  • The engine entry with its output streams closed: no answer on its health route before the change, an answer after it; started normally it still prints its address.
  • From the terminal panel commits (earlier session, headless Chrome against the dev server and an engine from source with stand-ins): the panel in its place with shells, Claude Code, Codex and Cursor tabs, the ask line, reload, a move between workspaces, theme change, keys, and the permission dialog's three answers.

Not run

  • Nothing was run on Windows or macOS. The output streams fix was run on Linux only.
  • The desktop shell was not compiled on the build machine and the native engine was not rebuilt; the first compile is the release build. This branch changes src-tauri only in its version fields.
  • The real Claude Code, Codex, Cursor and Antigravity were not run; stand-ins only. Nobody has seen a real agy install from this machine: whether it reads the workspace's .agents/mcp_config.json, wants the workspace trusted first, or hands the entry's environment to the MCP bridge is not known. If it does not, the person is asked.
  • The Antigravity button, its menu row and its tab were not looked at in a browser. No browser was opened for the six agent program commits.
  • A frozen (packaged) engine, the CI job on GitHub, a production build.
  • Two Antigravity tabs at once share one entry in the workspace file; only the removal of the entry was seen.

Held at the safer choice, for the owner to overrule

  • The Antigravity tab runs in FormEncoder's agent workspace, where the other agent tabs run, and a folder given in the request is ignored for it, so a tab's access is never written into a folder of the person's.
  • Antigravity lists the curated tools only, as Cursor does; every tool can still be called by name.
  • The README's description of the Agents panel picture still says three set-up buttons, because the picture shows three.

Merge

Merge with a merge commit. Do not squash and do not rebase-merge.

…thing but a ratio whichever engine command carries it

Three cases of test_the_engine_side_guard_refuses_metacharacters_and_inner_paths failed in the pull request's test job (3 failed, 261 passed). They queue an output with such a value and expect guard.before to refuse it. Since 0.8.2 (584fe9b, 11 November) the engine replaces the value with 1:1 when it is set, so the queued output never held it and guard.before, which read only the engine's merged settings, had nothing to refuse; the test, written the day before (c91e8e8), has failed since then. The function session now keeps every settings patch it carries to the engine, and guard.before, after its checks of the merged settings, applies the patch rule to each of them. encode already applied that rule before queueing, so its answers are the same.

Seen with a headless session: the three values were held by the engine as 1:1 and refused by guard.before with the setting's name; 4:3 and source were held as sent and allowed. Run: tests/test_functions.py, 42 passed (39 passed and 3 failed before). Not changed: the engine (no Rust change, not rebuilt), and the window's and agents' own commands, where the engine still corrects such a value to 1:1.
@nodemode-ai

Copy link
Copy Markdown
Collaborator Author

FormEncoder 0.10.0: the family's terminal panel, Antigravity as the fourth agent program, and agent programs found however the app was started

This branch sits on top of feat/family-update-0.9.0 (0.9.0, pushed and not yet merged). It adds 11 commits: 4 that bring in the family's terminal panel, 6 for the four agent programs, and the release commit.

What changes for people

The Terminal panel

  • The Terminal panel is the family's shared panel. It keeps its place in FormEncoder (any group, floating, per workspace, opened from the Window menu). Inside it are tabs: plain shells, Claude Code, Codex, Cursor and Antigravity each in a tab of its own, and read-only tabs for terminals an outside agent opened. A line at the bottom opens Claude Code with what you type.
  • Changed on purpose: a plain shell tab carries no agent access. A program typed into a shell asks like any outside agent; the agent tabs started from the panel's buttons do not ask.
  • The permission question is the panel's dialog in the middle of the window: Deny, Allow once, or Always allow that agent. Escape refuses. A question still waiting is shown again after a reload, and it closes by itself within about a second when the agent that asked goes away.

Four agent programs

  • Google's Antigravity (agy) is offered beside Claude Code, Codex and Cursor: its own button and tab in the Terminal panel, Start Antigravity in the Agent button's menu, Set up Antigravity in the Agents panel.
  • ./formencoder agents install antigravity (also part of the default set) adds FormEncoder to ~/.gemini/config/mcp_config.json, keeps everything else in that file, and leaves alone an entry of the same name that FormEncoder did not write. Antigravity gets the MCP server only; no skill is copied for it.
  • FormEncoder finds the agent programs however it was started. Opened from the Dock, the Start menu or a desktop launcher it used to see only a short list of folders and could report a program as not installed. It now also looks in the usual install folders and reads the person's shell list once. The status says where each program was found and tells a missing program from one that was found but does not start, with the program's own error line.
  • FORMENCODER_CLAUDE_BIN, FORMENCODER_CODEX_BIN, FORMENCODER_CURSOR_BIN and FORMENCODER_ANTIGRAVITY_BIN name a program's file directly.
  • An agent tab is started through the login shell with the program's own folder first on its PATH, so a program that needs the node installed beside it starts.
  • The reported version of an agent program is the version itself (for example 2.1.0), not the whole line the program prints.

The engine

  • The engine starts when it has no output streams. An engine built without a console no longer stops at its first line of output. This was seen in a Windows build of another Form app.

Also in this release

  • The MCP entry the agent tabs use inside the agent workspace is named formencoder_tab, apart from the formencoder entry that agents install writes for use outside the app.
  • agents/manifest.json lists the Terminal panel's tabs. ./formencoder agents sync --check fails when the shared panel's files or the shared program finder were changed in place.
  • FormEncoder's own tests can no longer start a real agent program: the whole run sees stand-ins only.
  • The README, the wiki, the command help and the agent skills name four agent programs.

How it was checked

  • The whole backend suite before the version commit, with decoy agent programs first on PATH: 261 passed, 3 failed. The 3 are the three cases of one test in tests/test_functions.py that failed the same way before this branch (253 passed, 3 failed after the terminal panel commits); that code and test were not touched. The decoys were started 0 times.
  • After the version commit: the version, boot, agent, terminal panel and function test files, 73 passed and the same 3 failed.
  • tsc --noEmit with the app's flags: clean. vite build into a scratch folder: completed.
  • ./formencoder agents sync --check: in step. python -m app.functions manifest --check: in step. setup/lint_text.py: 0 findings on the changed texts.
  • An engine from source with its own home, data folder, a stand-in login shell and stand-in claude, codex, cursor-agent and agy: the status listed four as running with their versions; an Antigravity tab showed the stand-in's banner with the tab's access present; the tab's entry appeared in the workspace's .agents/mcp_config.json beside a seeded server and key, in a file only the user can read; a call with the tab's access ran unasked; after close the file was byte for byte as seeded and the same access was treated as an outside agent's. Without agy the status and the tab route said where FormEncoder looked and how to install it.
  • The install route for Antigravity against a made-up home: a dry run wrote nothing, the first run wrote the file, the second said it was already there, a foreign entry was left with the same hash.
  • The engine entry with its output streams closed: no answer on its health route before the change, an answer after it; started normally it still prints its address.
  • From the terminal panel commits (earlier session, headless Chrome against the dev server and an engine from source with stand-ins): the panel in its place with shells, Claude Code, Codex and Cursor tabs, the ask line, reload, a move between workspaces, theme change, keys, and the permission dialog's three answers.

Not run

  • Nothing was run on Windows or macOS. The output streams fix was run on Linux only.
  • The desktop shell was not compiled on the build machine and the native engine was not rebuilt; the first compile is the release build. This branch changes src-tauri only in its version fields.
  • The real Claude Code, Codex, Cursor and Antigravity were not run; stand-ins only. Nobody has seen a real agy install from this machine: whether it reads the workspace's .agents/mcp_config.json, wants the workspace trusted first, or hands the entry's environment to the MCP bridge is not known. If it does not, the person is asked.
  • The Antigravity button, its menu row and its tab were not looked at in a browser. No browser was opened for the six agent program commits.
  • A frozen (packaged) engine, the CI job on GitHub, a production build.
  • Two Antigravity tabs at once share one entry in the workspace file; only the removal of the entry was seen.

Held at the safer choice, for the owner to overrule

  • The Antigravity tab runs in FormEncoder's agent workspace, where the other agent tabs run, and a folder given in the request is ignored for it, so a tab's access is never written into a folder of the person's.
  • Antigravity lists the curated tools only, as Cursor does; every tool can still be called by name.
  • The README's description of the Agents panel picture still says three set-up buttons, because the picture shows three.

Merge

Merge with a merge commit. Do not squash and do not rebase-merge.

@nodemode-ai
nodemode-ai merged commit 34edf64 into main Nov 20, 2026
9 checks passed
@nodemode-ai
nodemode-ai deleted the feat/family-update-0.9.0 branch November 20, 2026 04:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant